const TOKEN_KEY = "token";

export const getToken = () => sessionStorage.getItem(TOKEN_KEY);

export const setToken = (token) => sessionStorage.setItem(TOKEN_KEY, token);

export const removeToken = () => sessionStorage.removeItem(TOKEN_KEY);

export const setSession = (key, value) => sessionStorage.setItem(key, value);

export const getSession = (key) => sessionStorage.getItem(key);

export const removeSession = (key) => sessionStorage.removeItem(key);

export const clearSession = () => sessionStorage.clear();

